package com.example02.demo;


import org.springframework.boot.context.properties.ConfigurationProperties;

import java.beans.ConstructorProperties;

/**
 * @author liyixuan
 * 2021年4月19日23:59:46
 */
@ConfigurationProperties(prefix = "liyixuan.auto")
public class CustomProperties {
    /**
     * 自动配置类是否生效
     */
    private boolean enable;

    public boolean isEnable() {
        return enable;
    }

    public void setEnable(boolean enable) {
        this.enable = enable;
    }
}
